SftTree/OCX 7.0

SftTreeCell.ProgressMax Property

Softel vdm, Inc.

Defines the cell's progress bar maximum value (0 to turn off).

Syntax       

 

Get

VB.NET

Value = object.ProgressMax  As Integer

VB

Value = object.ProgressMax  As Long

C#.NET

int Value = object.ProgressMax;

VC++

long Value = object->ProgressMax;
long Value = object->GetProgressMax();

C

HRESULT object->get_ProgressMax(long* Value);

Delphi

Value := object.ProgressMax   : Integer;

Put

VB.NET

object.ProgressMax = Value  As Integer

VB

object.ProgressMax = Value  As Long

C#.NET

int object.ProgressMax = Value;

VC++

long object->ProgressMax = Value;
void object->PutProgressMax(long Value);

C

HRESULT object->put_ProgressMax(long Value);

Delphi

object.ProgressMax := Value   : Integer;

object

A SftTreeCell object.

Value

Defines the cell's background progress bar maximum value. Must be greater or equal to 0 (0 to turn off).

Comments

The ProgressMax property defines the cell's background progress bar maximum value (0 to turn off).

The progress bar is rendered as cell background, with the cell text and image displayed in the cell as usual. For a partial height progress bar, the cell background is also rendered using the defined background colors.

The Cell.ProgressValue property defines the current value (between 0 and ProgressMax, inclusive) of the progress bar and the progress bar is rendered proportionally to the size of the cell.

The progress bar for a cell is rendered using the colors defined with the Cell.ProgressColor and Cell.ProgressColorEnd properties. The orientation of the gradient fill can be defined using the Cell.ProgressColorOrientation property. The appearance of the progress bar can be defined with the Cell.ProgressStyle property.

A progress bar is only shown for the cell if its Cell.ProgressMax property is set to a value other than 0.

See Also  SftTreeCell Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com